<?php
function html($text)
{
	return htmlspecialchars($text, ENT_QUOTES, 'UTF-8');
}

function htmlout($text)
{
	echo html($text);
}

function query_return_result($link, $sql, $error)
{
	$result = mysqli_query($link, $sql);
	if(!$result)
	{
		$GLOBAL['error'] = $error;
		include '/includes/error.html.php';
		exit();
	}
	return $result;
}

function get_form()
{

}
?>
